<!DOCTYPE html>
<html lang="en">
<!--后台模板在线网址 http://www.sucaihuo.com/modals/5/518/demo/ui_features.html-->
<head>
    <meta charset="utf-8">
    <title>约健体育联盟</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健体育联盟">
    <include file="Public/head" />
</head>
<body>
<div id="wrap">
    <include file="Public/top" />
    <div class="container-fluid">
        <include file="Public/sidemenu"/>

        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    
                </h2>
            </div> <!-- /row-fluid -->



 <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5>添加培训</h5>
                        <div class="widget-buttons">
                           
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>

                        <p class="pull-right" style="margin-top: 20px;"><a class="btn btn-primary" href="__ROOT__/index.php/admin/Train/trainlist">返回</a></p>
                    </div>
          <div class="panel-body">
          <div class="col-md-3"></div>
            <div class="col-md-6">
                
            <form role="form" action="{:U('Train/newtrain')}" method="POST" enctype="multipart/form-data">
              
              <div class="form-group">
                  <label>培训名称</label>
                  <input class="form-control" type="text" placeholder="请输入名称" name="trainname">
                </div>


                <div class="form-group">
                  <label>培训介绍</label>
                  <input class="form-control" type="text" placeholder="请输入介绍" name="trainintro">
                </div>



                <div class="form-group">
                  <label class="form-group">培训图片</label>
                  <div class="col-md-4">
              <span class="help-block">支持常见图片格式(.jpg,.png,.jpeg)，最大上传：1M</span>
                  <input class="form-control" type="file"  name="trainpic">
                  <img class="img-thumbnail"  src="__PUBLIC__/Uploads/photo/{$vo.trainpic}" width="90" height="80"> 
                </div>

                



                <div class="form-group">
                  <label>培训须知</label>
                  <input class="form-control" type="text" placeholder="请输入须知" name="trainnotice">
                </div>

                <div class="form-group">
                  <label>培训时间</label>
                  <input class="form-control" type="date" placeholder="请输入发布时间" name="traintime">
                </div>

                <div class="form-group">
                  <label>培训地点</label>
                  <input class="form-control" type="text" placeholder="请输入地点" name="trainplace">
                </div>


                <div class="form-group">
                  <label>培训费用</label>
                  <input class="form-control" type="text" placeholder="请输入费用" name="trainmoney">
                </div>


                <div class="form-group">
                  <label>培训级别</label>
                  <input class="form-control" type="text" placeholder="请输入级别" name="trainlevel">
                </div>




                
                <button type="submit" class="btn btn-primary">提交</button>
                <button type="reset" class="btn btn-default">重置</button>
              </div>
              


            </form>
          </div>
        </div>




        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>
